@extends('web.layout')

@section('content')
  <div class="layui-container fly-marginTop fly-user-main">
    @include('web.user.nav')

      <div class="fly-home fly-panel fly-panel-user" style="padding-top: 20px" pad20>
        <img src="{{ Auth::user()->avatar ? Auth::user()->avatar : asset('web/images/default.png') }}" alt="">
        <i class="iconfont {{ Auth::user()->is_union_auth == 1 ? 'icon-renzheng' : '' }}" title="认证"></i>
        <h1>
          {{ Auth::user()->name }}
          <i class="iconfont icon-nan"></i>
        </h1>
        <p class="fly-home-info">
          <i class="layui-icon">&#xe65e;</i><span style="color: #FF7200;">余额 {{ Auth::user()->amount }} </span>
          <i class="iconfont icon-shijian"></i><span>{{ Auth::user()->created_at }} 加入</span>
          <i class="layui-icon">&#xe65e;</i><span>提现支付宝：{{ Auth::user()->alipay_account }}</span>
        </p>
        <p style="padding: 10px 0 0px 0; color: #5FB878;">联盟名称：{{ Auth::user()->union_name }} &nbsp;&nbsp;联盟接单金额：{{ Auth::user()->receive_order_price }}</p>
        <p class="fly-home-sign">联盟介绍：{{ Auth::user()->union_desc }}</p>
      </div>
  </div>
@endsection